package com.xiaolong.model;

import java.io.Serializable;
import java.util.Set;

import com.google.common.collect.Sets;

import lombok.Data;

@Data
public class SysRole implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
//	id bigint(15) NOT NULLid
	private long id;
//	role_name varchar(100) NULL
	private String roleName;
//	role_desc varchar(200) NULL
	private String roleDesc;
//	state int(1) NULL
	private Integer state;
	
	private Set<SysPermission> permissions = Sets.newHashSet();
}
